package com.account.book.service;

import com.account.book.request.SuggestInfoReqVo;
import com.account.book.response.SuggestInfoResVo;

import java.util.List;

/**
 * @author liang-hw
 * @className SuggestInfoService
 * @description 建议
 * @date 2024/01/15 14:03:57
 */
public interface SuggestInfoService {
    /**
     * @param @param suggestInfoReqVo
     * @param userId
     * @return
     * @author liang-hw
     * @description 新增或者更新建议信息
     * @date 2024/01/15 14:42:12
     */
    void addAndUpdateSuggestInfo(SuggestInfoReqVo suggestInfoReqVo, String userId);

    /**
     * @param @param userId
     * @return @return {@link List }<{@link SuggestInfoResVo }>
     * @author liang-hw
     * @description 查询建议信息
     * @date 2024/01/15 14:42:06
     */
    List<SuggestInfoResVo> selectSuggestInfo(String userId);

    /**
     * @param @param suggestInfoReqVo
     * @return
     * @author liang-hw
     * @description 删除建议信息
     * @date 2024/01/15 14:48:34
     */
    void deleteSuggestInfo(SuggestInfoReqVo suggestInfoReqVo);
}
